-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(android): getter/setter for applicationLocales in Android 12 and up #14013
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you revert the changes to the comments in the LocaleModule, please. And the text.startsWith...
change. Don't think that is needed for the applicationLocale.
Please keep the indent level in the doc file.
fix(android): revert code refactor in LocaleModule file fix(android): fix indication the Locale.yml file.
|
@m1ga @AbdullahFaqeir can we check on this? |
Documentation: |
@m1ga of course, I'll do it ASAP |
fix(android): implemented the Per-app languages properly. fix(android): fixed docs. fix(android): bumped AppCompact version to 1.6.1
@m1ga @hansemannn I believe this one is ready/ |
There seem to be many changes which are not related to this PR, e.g. docs indentation and iOS xcode settings. Please split these up into separate PR's, so this one remains slim. Thank you! |
And please add the API 33 check again https://developer.android.com/reference/android/app/LocaleManager#setApplicationLocales(android.os.LocaleList) was "Added in API level 33" and Ti still supports lower SDKs |
Description:
This PR was raised from an issue appeared on android level 33 and later which caused Ti.Locale.setLanguage() not to work properly, which caused random pages not to be translated unless you recall Ti.Locale.setLanguage() on each page.
See here
Replacing PR #14008
edited by Michael: for a test code check #14008 (comment)